MSVC 6 doesn't know about stdint.h
authorparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 17 Mar 2005 15:47:26 +0000 (15:47 +0000)
committerparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 17 Mar 2005 15:47:26 +0000 (15:47 +0000)
gpsbabel/gbtypes.h

index b8d5b771ad989f0a7c7fa68114f5260eafc6710c..1532ed26b7742e6ecc9db9f4f0e35e1003c2aacd 100644 (file)
  *  include a gross collection of  __STDC_VERSION >= 199901L  || __GNUC__
  */
 
+#if defined(_MSC_VER) && (_MSC_VER == 1200)
+
+typedef unsigned long gbuint32;
+typedef unsigned short gbuint16;
+typedef long gbint32;
+typedef short gbint16;
+
+#else
 
 #include <stdint.h>
 
@@ -32,3 +40,6 @@ typedef uint32_t      gbuint32;
 typedef uint16_t       gbuint16;
 typedef  int32_t        gbint32;
 typedef  int16_t        gbint16;
+
+#endif // defined(_MSC_VER) && (_MSC_VER == 1200)
+